home *** CD-ROM | disk | FTP | other *** search
/ The Amiga Classic Collection / The Amiga Classic Collection - Disc 2.iso / Utils / UT106-WB2HDinstall.DMS / UT106-WB2HDinstall.adf / FormatHD < prev    next >
AmigaDOS Script File  |  1992-01-09  |  994b  |  41 lines

  1. .key ""
  2. .bra {
  3. .ket }
  4. echo "Hard Disk Format"
  5. assign >NIL: WB_2.x: exists
  6. if warn
  7.   echo "*NWARNING:  Hard disk drive partition WB_2.x: cannot be found!"
  8.   echo "This script formats partitions WB_2.x: and Work:."
  9.   echo "Make sure the drive is properly connected and prepped, and"
  10.   echo "the partitions have the correct names."
  11.   skip exit
  12. endif
  13. ;
  14. echo "*NWARNING: This will reformat drive partitions WB_2.x: and Work:."
  15. echo "All information on these partitions will be lost!"
  16. ask "Are you sure you want to continue ? (Y/N) "
  17. if not warn
  18.   echo "Format cancelled."
  19.   skip exit
  20. endif
  21. ;
  22. path sys:system add
  23. echo "*NFormatting..."
  24. format <NIL: >NIL: drive WB_2.x: name System2.0 quick
  25. if fail
  26. skip failcase
  27. endif
  28. format <NIL: >NIL: drive Work: name Work quick
  29. lab failcase
  30. if fail
  31.   echo "Format failed."
  32.   skip exit
  33. endif
  34. ;
  35. echo "*NHard disk format is complete."
  36. ask "*NWould you like the system software to be*Ninstalled on your hard disk ? (Y/N) "
  37. if warn
  38.   execute :InstallHD
  39. endif
  40. lab exit
  41.